cmake_minimum_required(VERSION 3.15)

project(test)

set(CMAKE_CXX_STANDARD 20)

set(PATH ..)
set(EXECUTABLE_OUTPUT_PATH ${PATH})

set(INCLUDE_DIR .. ../../log)
include_directories(${INCLUDE_DIR})

# 内存池分配回收chunk功能测试
add_executable(test_memorypool test_memorypool.cpp)
target_link_libraries(test_memorypool pthread)

# 数据从buff到文件fd的双向IO功能测试
add_executable(test_buff test_buff.cpp)
target_link_libraries(test_buff pthread)